#!/bin/bash
#
n=5
awk -v n="$n" 'BEGIN{
	for(i=1;i<=n;i++){
		for(j=1;j<=n-i;j++){
			printf "%s "," "
		}
		for(k=1;k<=2*i-1;k++){
			printf "%s ","*"
		}
		printf "\n";
	}
}'
